<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<title><?php echo ($site_name); ?></title>
<meta name="keywords" content="<?php echo ($site_seo_keywords); ?>" />
<meta name="description" content="<?php echo ($site_seo_description); ?>">
<meta name="author" content="ThinkCMF">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>致医商城-扫日劳清肺止咳胶囊</title>
    <meta name="keywords" content="-致医商城"> <meta name="description" content="-致医商城"> <link href="/themes/simplebootx/Public/assets/css/header.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/base.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/jquery.jqzoom.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/detailNew.css" rel="stylesheet" type="text/css" media="screen">
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.jqzoom-core.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/imall-countdown.js"></script>
    <script type="text/javascript">
        var skuData = eval('[{"price":{"currency":"CNY","num":1,"unitPrice":36.0,"totalAmount":36.0,"isSpecialPrice":false,"remainStock":80,"amountNm":"销售价","needPayment":true,"isNeedPayment":true,"installmentFee":false,"limitBuy":-1,"originalUnitPrice":36.0},"sku":{"sysOrgId":1,"skuId":82,"productId":82,"specNm":"","currentNum":100,"maximumOrder":-1,"safetyStock":20,"obtainIntegral":0,"weight":0.0,"volume":0.0,"salePrice":36.0,"stockNo":"20011639","costPrice":0.0},"specValueIds":[]}]');
        var userSpecData = eval('null');
        var isCanBuy = eval('true');
        var webPath = {webRoot:"",productId:"82",productCollectCount:"",
            systemTime:"2017/05/30 16:14:54"};
        $(document).ready(function(){
            var u = document.referrer;

            if (u.indexOf("xiajichangyongyao.ac") >= 0) {
                $("#now").hide();
                $("#then").show();
            } else {
                $("#now").show();
                $("#then").hide();
            }
        })

    </script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/shoppingcart.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/comment.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.tinyscrollbar.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/imallSlidelf.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/product.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/hScrollPane.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/productLeft.js"></script>
</head>

<body class="body-white">
	
<script type="text/javascript">
	var goToUrl = function(url){
		setTimeout(function(){window.location.href=url},1)
	};
	var Top_Path = {webRoot:"",topParam:"index"};

</script>
<link rel="icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/top.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/addFavorite.js"></script>
<!--header-->
<div class="header">
	<div class="topBg">
		<div class="h-top">
			<div class="welcome">

				您好，<a class="cur user-nicename" href="<?php echo U('product/member/index');?>"></a>欢迎来到致医商城！
                <span class="logout" style="display: none;">[<a href="<?php echo U('user/index/logout');?>" title="退出">退出</a>]</span>
				<span class="user_nologin" style="display: none;">
				[<a class="cur" href="<?php echo leuu('user/login/index');?>" title="登录">登录</a>]
				[<a href="<?php echo leuu('user/register/index');?>" title="新用户注册">注册</a>]
				</span>
			</div>
			<ul class="topR">
				<p style="margin: 3px"> <?php echo ($site_setting["site_top"]); ?></p>
				<div class="clear"></div>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div class="h-btm">
		<div class="logo frameEdit" frameinfo="logo|350X115">
			<a href="/" title="致医商城" target="_blank"><img src="/themes/simplebootx/Public/assets/images/e5ec042d-6f3d-4ec0-996b-f461fdef09a7.png" width="350" height="115" alt="致医商城" title=" " border="0"></a></div>
		<div class="search-box">
			<form id="searchForm" action="/" method="get">
				<div class="form">
                    <input type="hidden" name="g" value="product"/>
                    <input type="hidden" name="m" value="list"/>
                    <input type="hidden" name="a" value="index"/>
					<input class="put" type="text" id="searchFields" name="keyword" placeholder="请输入关键字：药品名称">
					<div class="search-btn"><a href="$('#searchForm').submit();">搜索</a></div>
					<div class="clear"></div>
				</div>
			</form>
			<ul class="hotFont">
				<p>热门搜索：</p>
				<li>
					<a href="<?php echo U('product/list/index',array('keyword'=>'碳酸钙'));?>" title="碳酸钙" class="cur">碳酸钙</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'感冒颗粒'));?>" title="感冒颗粒">感冒颗粒</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'五子衍宗丸'));?>" title="五子衍宗丸">五子衍宗丸</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'抗病毒口服液'));?>" title="抗病毒口服液">抗病毒口服液</a>
					<a href="<?php echo U('product/list/index');?>" title=""></a>
				</li>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="btm-r frameEdit" frameinfo="top_tel_adv|300X80">
			<div class="pic">
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<!--menu-->
<div class="menuBg">
	<div class="menu">
		<div class="menu-l l_btn">
			<div class="all"><em></em>全部药品分类</div>
			<div class="popup me_Layer" style="<?php if($open_menu == true){ ?>display:block;<?php }else{ ?>display:none;<?php } ?>">
				<input type="hidden" id="isIndex" value="<?php if($open_menu==true): ?>Y<?php endif; ?>">
                <?php if(is_array($cat_list)): foreach($cat_list as $cat_index=>$cat_item): ?><ul class="itemBox">
                        <li class="item <?php if($cat_index%2!=0): ?>item2<?php endif; ?>">
                            <div class="icon">
                                <img src="/themes/simplebootx/Public/assets/images/icon<?php echo ($cat_index+2) ?>.png">
                            </div>
                            <!--链接-->
                            <div class="title"><a href="<?php echo U('Product/list/index',array('tid'=>$cat_item['id']));?>" title="感冒呼吸"><?php echo ($cat_item["title"]); ?></a></div>
                        </li>
                    </ul><?php endforeach; endif; ?>

			</div>
		</div>
		<ul class="menu-m frameEdit" frameinfo="nav_link">
			<li><a <?php if(I('get.g') == 2): ?>class="cur"<?php endif; ?> href="/">首页</a><em></em></li>
			<a <?php if(I('get.id') == 2): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>2));?>" title="关于我们">关于我们</a>
			<a <?php if(I('get.id') == 3): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>3));?>" title="联系我们">联系我们</a>
			<a <?php if(I('get.a') == 'information'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/information');?>">资讯频道</a>
			<a <?php if(I('get.a') == 'summer'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/summer');?>">夏季常用药</a>
			<a <?php if(I('get.a') == 'sheet'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/sheet');?>">药品数据表【收费】</a>
		</ul>
		<div class="clear"></div>
	</div>
</div>

	<div class="details_main">
		<ul class="position">
			<li id="now">
				<a href="/" title="一德堂">返回首页</a><span>&gt;</span><em><?php echo ($cat["title"]); ?></em>
			</li>
			<!--<li id="then" style="display: none">-->
				<!--<a href="/" title="一德堂">返回首页</a>-->
				<!--<span>&gt;</span><a href="http://www.zhiyimall.com/productlist-.html" title="">夏季常用药</a>-->
				<!--<span>&gt;</span><em>维生素 钙剂</em>-->
			<!--</li>-->
		</ul>
		<!-- <ul class="details_m1">
			<li class="m1R" style="width: 1200px;">
				<div class="r_m1" style="width: 1200px;">
					<div class="m1L" style="height: auto;">
						<div class="l_pic"> <a href="/themes/simplebootx/Public/assets/images/1.jpg" class="jqzoom" rel='gal1' title=""> <img border="0" id="bigsrc" src="/themes/simplebootx/Public/assets/images/1.jpg" style="width: 360px;height: 360px;"/> </a> </div>
					
						<div class="l_pic">
							<a href="/themes/simplebootx/Public/assets/images/1.jpg" class="jqzoom" rel="gal1" title="" style="outline-style: none; text-decoration: none;">
								<div class="zoomPad">
                                    <img border="0" id="bigsrc" src="/themes/simplebootx/Public/assets/images/1.jpg" style="width: 360px; height: 360px; opacity: 1;" title="">
                                    <div class="zoomPup" style="top: 89px; left: 89px; width: 180px; height: 180px; position: absolute; border-width: 1px; display: none;"></div>
                                    <div class="zoomWindow" style="position: absolute; z-index: 5001; left: 570px; top: 0px; display: none;">
                                        <div class="zoomWrapper" style="width: 300px;">
                                            <div class="zoomWrapperTitle" style="width: 100%; position: absolute; display: block;">碳酸钙D3颗粒</div><div class="zoomWrapperImage" style="width: 100%; height: 300px;">
                                            <img src="/themes/simplebootx/Public/assets/images/1.jpg" style="position: absolute; border: 0px; display: block; left: -150px; top: -150px;">
                                        </div>
                                        </div>
                                    </div>
                                    <div class="zoomPreload" style="visibility: hidden; top: 158.5px; left: 135px; position: absolute;">Loading zoom</div></div>
							</a>
						</div>
						
						
						
						
						
						<div class="list_pic">
							<div class="turnL"><a href="javascript:;" id="mycarousel-prev"></a></div>
							<div class="sorll_box jcarousel-container jcarousel-container-horizontal" id="mycarousel" style="position: relative; display: block;">
								<div class="jcarousel-clip jcarousel-clip-horizontal" style="position: relative;">
                                    <ul class="jcarousel-list jcarousel-list-horizontal" style="overflow: hidden; position: relative; top: 0px; margin: 0px; padding: 0px; left: 0px; width: 301px;">
									<?php if(is_array($product['pictures'])): foreach($product['pictures'] as $pkey=>$pitem): ?><li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-<?php echo $pkey+1 ?> jcarousel-item-<?php echo $pkey+1 ?>-horizontal" jcarouselindex="<?php echo $pkey+1 ?>" style="float: left; list-style: none;">
                                        <a rel="{gallery: 'gal1',smallimage: '<?php echo sp_get_image_preview_url($pitem);?>',largeimage: '<?php echo sp_get_image_preview_url($pitem);?>'}" class="" href="javascript:;" picid="<?php echo sp_get_image_preview_url($pitem);?>" displayimage="<?php echo sp_get_image_preview_url($picture);?>">
                                            <img src="<?php echo sp_get_image_preview_url($pitem);?>" width="30">
                                            <span></span>
                                        </a>
                                    </li><?php endforeach; endif; ?>
									<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-2 jcarousel-item-2-horizontal" jcarouselindex="2" style="float: left; list-style: none;">
                                        <a rel="{gallery: 'gal1',smallimage: '/themes/simplebootx/Public/assets/images/2.jpg',largeimage: '/themes/simplebootx/Public/assets/images/2.jpg'}" class="" href="javascript:;" picid="/themes/simplebootx/Public/assets/images/2.jpg" displayimage="/themes/simplebootx/Public/assets/images/2.jpg">
                                            <img src="/themes/simplebootx/Public/assets/images/2.jpg"><span></span>
										</a>
									</li>
								</ul>
                                </div>
							</div>
							<div class="turnR"><a href="javascript:;" id="mycarousel-next"></a></div>
						</div>
					</div>
					<div class="m1R">
						<div class="r_title">
							<em><?php echo ($product["pname"]); ?><i></i></em>
							<div class="clear"></div>
						</div>
						<div class="r_layer">
							<div class="lable">发布时间：</div>
							<div class="info"><?php echo ($product["create_time"]); ?></div>
							<div class="clear"></div>
						</div>
						<div class="r_layer">
							<div class="lable" style="float:none;">说明书：</div> <br>
							<div>
								<?php echo ($product["desc"]); ?>
							</div>
							<div class="clear"></div>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</li>
			<li class="clear"></li>
		</ul> -->
		<ul class="details_m1">
		<li class="m1R" style="width: 1200px;">
		<div class="r_m1" style="width: 1200px;">
		<div class="m1L" style="height: auto;">
		    <div class="l_pic">
		        <a href="<?php echo ($product["main_picture"]); ?>" class="jqzoom" rel='gal1' title="<?php echo ($product["pname"]); ?>">
		            <img border="0" id="bigsrc" src="<?php echo ($product["main_picture"]); ?>" style="width: 360px;height: 360px;"/>
		        </a>
		    </div>
		    <div class="list_pic">
		        <div class="turnL"><a href="javascript:;" id="mycarousel-prev"></a></div>
		        <div class="sorll_box" id="mycarousel">
		            <ul>
						<?php if(is_array($product['pictures'])): foreach($product['pictures'] as $pkey=>$pitem): ?><li>
                            <a rel="{gallery: 'gal1',smallimage: '<?php echo sp_get_image_preview_url($pitem);?>',largeimage: '<?php echo sp_get_image_preview_url($pitem);?>'}" class="" href="javascript:;" picId="<?php echo sp_get_image_preview_url($pitem);?>" displayImage="<?php echo sp_get_image_preview_url($picture);?>">
                                <img src="<?php echo sp_get_image_preview_url($pitem);?>" style="width: 60px;height: 60px;">
                                <span></span>
                            </a>
                        </li><?php endforeach; endif; ?>
	                </ul>
		        </div>
		        <div class="turnR"><a href="javascript:;" id="mycarousel-next"></a></div>
		        </div>
		    </div>
		<div class="m1R">
		    <div class="r_title">
		        <em><?php echo ($product["pname"]); ?><i></i></em>
		        <div class="clear"></div>
		    </div>
		    <div class="r_layer">
		            <div class="lable">发布时间：</div>
		                <div class="info"><?php echo ($product["create_time"]); ?></div>
		            <div class="clear"></div>
		        </div>
		    <div class="r_layer">
		        <div class="lable" style="float:none;">说明书：</div> <br>
					<div>
						<?php echo ($product["desc"]); ?>
					</div>
					<div class="clear"></div>
				</div>
		    </div>
		<div class="clear"></div>
		</div>



		</li>
		<li class="clear"></li>
		</ul>

	</div>

	<!--页脚-->
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/scrollTop.js"></script>
<script type="text/javascript">
	var jiathis_config={
		summary:"",
		hideMore:false
	}

	$(document).ready(function(){

		$(window).scroll(function() {
			var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css({ top: topheight + "px" });
//            $(".se-popup").css({ top: topheight+50 + "px" });
		});


		$("#2dbcode").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css("top",topheight);
			$(".wx-popup").show();
		},function(){
			$(".wx-popup").hide();
		});

		$("#ziaxian").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".se-popup").css({ top: topheight + "px" });
			$(this).find(".se-popup").show();
		},function(){
			$(this).find(".se-popup").hide();
		});
	});
	$(function(){
		$(".simple").scrollTop1();
//        window.onscroll=function(){
//            document.documentElement.scrollTop>0?$("#goTopBtn").css("display",""):$("#goTopBtn").css("display","none");
//        }
	});
</script>
<div class="footer">
	<div class="foot_ba frameEdit" frameinfo="custom1">
		<p>
			<span style="font-size:16px;"><strong>&nbsp;</strong></span></p>
		<p style="text-align: center;">
			&nbsp;</p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;"><?php echo ($site_setting["site_banquan"]); ?></span></span></p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;"><?php echo ($site_setting["site_beian"]); ?></span></span></p>
	</div>
</div>


<script type="text/javascript">
	//全局变量
	var GV = {
		ROOT: "/",
		WEB_ROOT: "/",
		JS_ROOT: "public/js/"
	};

	$(function(){

		$.post("<?php echo U('user/index/is_login');?>",{},function(data){
			if(data.status==1){
				if(data.user.avatar){
//					$("#main-menu-user .headicon").attr("src",data.user.avatar.indexOf("http")==0?data.user.avatar:"<?php echo sp_get_image_url('[AVATAR]','!avatar');?>".replace('[AVATAR]',data.user.avatar));
				}

				$(".user-nicename").text(data.user.user_nicename!=""?data.user.user_nicename:data.user.user_login+",");
				$(".user-nicename").show();
                $(".logout").show();
				$(".user_nologin").hide();
			}
			if(data.status==0){
				$(".user_nologin").show();
				$(".user-nicename").hide();
			}

			/* $.post("<?php echo U('user/notification/getLastNotifications');?>",{},function(data){
			 $(".nav .notifactions .count").text(data.list.length);
			 }); */

		});
//		;(function($){
//			$.fn.totop=function(opt){
//				var scrolling=false;
//				return this.each(function(){
//					var $this=$(this);
//					$(window).scroll(function(){
//						if(!scrolling){
//							var sd=$(window).scrollTop();
//							if(sd>100){
//								$this.fadeIn();
//							}else{
//								$this.fadeOut();
//							}
//						}
//					});
//
//					$this.click(function(){
//						scrolling=true;
//						$('html, body').animate({
//							scrollTop : 0
//						}, 500,function(){
//							scrolling=false;
//							$this.fadeOut();
//						});
//					});
//				});
//			};
//		})(jQuery);
//
//		$("#backtotop").totop();


	});
</script>



</body>
</html>